package com.itHaipeng.service;

import com.itHaipeng.pojo.Account;

import java.util.List;

public interface IAccountService {
    List<Account> selectAll();
    Account selectByName(String name);
    void upData(Account account);

    /**
     *
     * @param targetName :转入账户
     * @param primaryName ：转出账户
     * @param money ：多少钱
     */
    void transfer(String targetName,String primaryName,float money);
}
